package org.service.es.constant;

/**
 * EsConstant
 *
 * @author grl
 * @date 2024/2/22
 */
public interface EsConstant {

    /**
     * 项目名
     */
    public static final String PROJECT_NAME = "c_81t_";

    String ACCOUNT_INDEX = "account_index";

    /**
     * 本地位置参与排序
     */
    public static final String ID_OR_CODE = "doc['location'].stream().anyMatch(local ->local.equals(params.local))? 1 :doc['location'].stream().anyMatch(local ->local.equals('公共地区'))? 2 : 3 ";
    /**
     * SUPER_ARTICLE
     */
    public static final String SUPER_ARTICLE = PROJECT_NAME+"super_article_bean";
    /**
     * SUPER_ARTICLE
     */
    public static final String SUPER_SERVICE = PROJECT_NAME+"super_service_bean";
}
